package com.zzh.api.feign;

import com.zzh.api.fallback.MemberServiceFallBack;
import com.zzh.api.member.service.IMemberService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;

/**
 * @author zihong.zheng
 * @version 1.0
 * @date 2019/2/8
 * @time 0:26
 * @description @FeignClient 里面的name的值是服务别名
 */
@FeignClient(name = "member",fallback = MemberServiceFallBack.class)
@Service
public interface MemberServiceFeign extends IMemberService {
}
